editorconfig-core-handle.el: Fix regressions in fnmatch handling
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 8 Jul 2024 21:09:31 +0000 (17:09 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 8 Jul 2024 21:09:31 +0000 (17:09 -0400)
commitdce31372a60a9d37591671b8570169c9117e416a
tree3071018529c2396c7781f5656b2fb387f040e859
parented2986494c7c3fb6aaeb7647c6812c4091500222
editorconfig-core-handle.el: Fix regressions in fnmatch handling

* lisp/editorconfig-core-handle.el
(editorconfig-core-handle-get-properties-hash): Fix computation of
relative file name.
(editorconfig-core-handle--fnmatch-p): Handle the case when `pattern`
doesn't have a `/` but does match the `/` character.
lisp/editorconfig-core-handle.el